package com.zzmltc.cmn.service;

import com.alibaba.excel.EasyExcel;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzmstc.model.cmn.Dict;
import com.zzmstc.vo.cmn.DictEeVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.Collection;
import java.util.List;

public interface DictService extends IService<Dict> {
    //    根据数据id查询子数据列表
    List<Dict> findChildData(Long id);
    void importDictData(MultipartFile file);

    void exportDictData(HttpServletResponse response);
    //    根据dictcode和value查询
    String getDictName(String s, String value);
    //    根据dictCode获取下级字节
    List<Dict> findByDictCode(String dictCode);
}
